package com.ruoyi.service.service;

import java.util.List;
import com.ruoyi.service.domain.ServiceReasonstop;

/**
 * 订单关闭原因表Service接口
 * 
 * @author ZDL
 * @date 2024-11-12
 */
public interface IServiceReasonstopService 
{
    /**
     * 查询订单关闭原因表
     * 
     * @param reasonId 订单关闭原因表主键
     * @return 订单关闭原因表
     */
    public ServiceReasonstop selectServiceReasonstopByReasonId(Long reasonId);

    /**
     * 查询订单关闭原因表列表
     * 
     * @param serviceReasonstop 订单关闭原因表
     * @return 订单关闭原因表集合
     */
    public List<ServiceReasonstop> selectServiceReasonstopList(ServiceReasonstop serviceReasonstop);

    /**
     * 新增订单关闭原因表
     * 
     * @param serviceReasonstop 订单关闭原因表
     * @return 结果
     */
    public int insertServiceReasonstop(ServiceReasonstop serviceReasonstop);

    /**
     * 修改订单关闭原因表
     * 
     * @param serviceReasonstop 订单关闭原因表
     * @return 结果
     */
    public int updateServiceReasonstop(ServiceReasonstop serviceReasonstop);

    /**
     * 批量删除订单关闭原因表
     * 
     * @param reasonIds 需要删除的订单关闭原因表主键集合
     * @return 结果
     */
    public int deleteServiceReasonstopByReasonIds(Long[] reasonIds);

    /**
     * 删除订单关闭原因表信息
     * 
     * @param reasonId 订单关闭原因表主键
     * @return 结果
     */
    public int deleteServiceReasonstopByReasonId(Long reasonId);
}
